package com.example.wanbaqian.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.example.wanbaqian.R;
import com.example.wanbaqian.base.BaseActivity;
import com.example.wanbaqian.utils.ActivityManagerUtils;

import butterknife.OnClick;

/**
 * 额度审核
 */
public class QuotaAuditActivity extends BaseActivity {

    @Override
    protected int getLayout() {
        return R.layout.activity_quota_audit;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        ActivityManagerUtils.getInstance().finishActivityclass(ApplyOneActivity.class);
        setStatusBarColor(R.color.main_color);
        setToolBar("额度审核");
        mToolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                if(null != ApplyOneActivity.instence){
                    ApplyOneActivity.instence.finish();
                    ApplyOneActivity.instence = null;
                }
                finish();
            }
        });
    }

    @Override
    protected void initDate() {

    }

    @OnClick(R.id.QuotaAuditBtn)
    public void onClick() {
        Intent intent=new Intent(mContext,HomeActivity.class);
        intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
        startActivity(intent);
    }
}
